package cn.ihna.demo.algorithm.util;

import lombok.experimental.UtilityClass;

/**
 * @author xianyingda@gmail.com
 * @serial
 * @since 2020-08-28 15:18
 */
@UtilityClass
public class ArrayUtil {

    public static void printArr(int[][] arr) {
        for (int[] ints : arr) {
            printArr(ints);
        }
    }

    public static void printArr(int[] arr) {
        for (int i : arr) {
            System.out.print(i + " ");
        }
        System.out.println();
    }
}
